MAKE MEMBLOCK
This command will make a memblock of the given size.
MAKE MEMBLOCK Memblock Number, Size in Bytes
Memblock Number
Integer
The memblock number within the range of 1 to 255
Size in Bytes
Integer
The size of the memblock in bytes
This command does not return a value.
If the memblock already exists this command will fail. The parameters must be specified using integer values.
rem Load media
MemblockNumber=1
MAKE MEMBLOCK MemblockNumber, SizeInBytes
rem Display data
cls
print "MEMBLOCK EXPRESSION DATA"
print
if MEMBLOCK EXIST(MemblockNumber)=1
print "memblock:";MemblockNumber
print "exist:";MEMBLOCK EXIST(MemblockNumber)
print "ptr:";GET MEMBLOCK PTR(MemblockNumber)
print "size:";GET MEMBLOCK SIZE(MemblockNumber)
endif
rem Delete memblocks
if MEMBLOCK EXIST(MemblockNumber)=1 then DELETE MEMBLOCK MemblockNumber
do
loop
end
MEMBLOCKS Commands Menu
Index